package o;

import android.view.View;
import com.huawei.support.widget.HwSeekBar;
import java.lang.ref.WeakReference;

public class fmj extends SkinAttr {

    static final class c extends fkz<SkinAttr, Integer> {
        private WeakReference<HwSeekBar> ॱ;

        public /* synthetic */ void ॱ(Object obj) {
            ˊ((Integer) obj);
        }

        private c(HwSeekBar hwSeekBar) {
            this.ॱ = new WeakReference(hwSeekBar);
        }

        public void ˊ(Integer num) {
            HwSeekBar hwSeekBar = (HwSeekBar) this.ॱ.get();
            if (hwSeekBar != null) {
                fld.ॱ(hwSeekBar, num.intValue());
            }
        }
    }

    public fmj() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof HwSeekBar) {
            HwSeekBar hwSeekBar = (HwSeekBar) view;
            if ("color".equals(this.attrValueTypeName)) {
                this.ʽ = "color";
                fks.ˎ(view.getContext(), this, new c(hwSeekBar)).ॱ(z);
            }
        }
    }
}
